package com.yjx.gulimall.product.dao;

import com.yjx.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author zhuyingcoder
 * @email 1210736981@qq.com
 * @date 2022-01-23 12:30:17
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    List<Long> getAttrIdsByAttrGroupId(Long AttrGroupId);


    void deleteBatchRelation(List<AttrAttrgroupRelationEntity> relationList);

    void saveBatchRelation(List<AttrAttrgroupRelationEntity> relationList);
}
